package java3_21.MobilePhone;
//智能机
public class AptitudeHandSet extends Phone implements Internet,Photo{
    public AptitudeHandSet(String brand, String type) {
        super(brand, type);
    }

    @Override
    public void ringUp() {
        System.out.println("智能机可以打电话!");
    }

    @Override
    public void sendMessage() {
        System.out.println("智能机可以发短信!");
    }

    @Override
    public String takePhoto() {
        return "智能机可以拍照";
    }

    @Override
    public String surfTheInternet() {
        return "智能机可以上网";
    }

    @Override
    public void print() {
        System.out.println("这是一部:"+this.getBrand()+this.getType());
    }
}
